package Algorithm;
public class ArrayTest {
    public static void transform(int[] array){
        for(int i=0;i<array.length;i++){
            array[i]*=2;
        }
    }

    public static void main(String[] args) {
        int[] arr=new int[]{1,2,3};
        transform(arr);
        for(int i:arr){
            System.out.print(i+" ");
        }
    }
}
